FROM java:8-alpine
MAINTAINER caimengzhi
EXPOSE 8080
ADD target/*.war ROOT.war
ENV JAVA_OPTS="-Xms128m -Xmx1024m -Djava.security.egd=file:/dev/./urandom"
CMD exec java $JAVA_OPTS -jar ROOT.war